package com.htt.bms.domain.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 侯婷婷
 * @version 1.0
 * @description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("菜单DTO")
public class SysMenuDto {

    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("状态：0.未上架,1.正常,2.下架")
    private Integer status;

    @ApiModelProperty("类型集合：0.按钮,1.菜单,2.嵌套链接,3.跳转链接")
    private List<Integer> types;

    @ApiModelProperty("父id")
    private Integer parentId;

    @ApiModelProperty("角色id")
    private Integer roleId;
}
